package cn.iocoder.yudao.module.system.controller.admin.user.vo.scores;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 用户分数 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@ExcelIgnoreUnannotated
public class UserScoresRespVO extends UserScoresBaseVO {

    @Schema(description = "分数记录ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @ExcelProperty("分数记录ID")
    private Long id;

    @Schema(description = "用户名", example = "张三")
    @ExcelProperty("用户名")
    private String username;

    @Schema(description = "用户昵称", example = "小张")
    @ExcelProperty("用户昵称")
    private String nickname;

    @Schema(description = "创建者", example = "admin")
    @ExcelProperty("创建者")
    private String creator;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024-01-01 12:00:00")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新者", example = "admin")
    @ExcelProperty("更新者")
    private String updater;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024-01-01 12:00:00")
    @ExcelProperty("更新时间")
    private LocalDateTime updateTime;

}